package com.huida.app.controller;

import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Description:
 * @Author: Wangzz
 * @Version: 1.0.0
 * @CreateDate: Created in 2021/10/31 21:43
 * @UpdateDate: [dateFormat:YYYY-MM-DD][modifier][description]
 */


@RestController // @RestController = @ResponseBody + @Controller
public class IndexController {

    // 登录
    @PostMapping("/login")
    public String index(String username, String password){
        return "index";
    }
}
